﻿/************************************************************************
 * SMLib - State Model Library
 * Copyright (C) 2012-2013 Ali Khalili (khalili_DOT_ir_@SIGN_gmail_DOT_com)
 * **********************************************************************
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License (LGPL) published 
 * by the Free Software Foundation; either version 2.1 of the License, or (at your
 * option) any later version. This program is distributed without any
 * warranty. See the GNU Lesser General Public License for more details. 
 * ***********************************************************************
 * File         :     SMLib\Automata\DFA\DFA_Generator.cs
 * Description  :     Random DFA Generator (to test and evaluate DFA learning algorithms)
 * Change log   :     -16 April:  First version
 * To Do        :     -I have not tested it yet!
 ************************************************************************/
using System;
using System.Collections.Generic;
using SMLib.Interoperability;
namespace SMLib.Automata.DFA
{
    /// <summary>
    /// Helper for import/export of DFAs
    /// </summary>
    public class DFA_IoHelper
        : IExImHelper<DFA.DFA_State, DFA.DFA_Transition>
    {

        #region IExImHelper<DFA_State,DFA_Transition> Members

        public string StringOf(DFA.DFA_State state)
        {
            return state.Identifier.ToString();
        }

        public string StringOf(DFA.DFA_Transition tr)
        {
            return tr.ToString();
        }

        public DFA.DFA_Transition ParseEdge(string tr)
        {
            throw new NotImplementedException();
        }

        public DFA.DFA_State ParseState(string st)
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}
